#ifndef _LED_ARRAY_DRIVER_H_
#define _LED_ARRAY_DRIVER_H_

#include "stm8s_conf.h"


/*
	LED 
*/
#define L1_PORT		GPIOD
#define L1_PIN		GPIO_PIN_4
#define L2_PORT		GPIOA
#define L2_PIN		GPIO_PIN_1
#define L3_PORT		GPIOA
#define L3_PIN		GPIO_PIN_2
#define L4_PORT		GPIOA
#define L4_PIN		GPIO_PIN_3
#define L5_PORT		GPIOB
#define L5_PIN		GPIO_PIN_5
#define L6_PORT		GPIOB
#define L6_PIN		GPIO_PIN_4
#define L7_PORT		GPIOC
#define L7_PIN		GPIO_PIN_3
#define L8_PORT		GPIOC
#define L8_PIN		GPIO_PIN_5
#define L9_PORT		GPIOC
#define L9_PIN		GPIO_PIN_6
#define L10_PORT	GPIOC
#define L10_PIN		GPIO_PIN_7
#define L11_PORT	GPIOD
#define L11_PIN		GPIO_PIN_1




int ledArray_GpioInit(void);

int ledArray_Refresh(unsigned short  led_dot_array,unsigned char mask_dot_num);


#endif
